package com.colorfruit.admin.business.dao;

import com.colorfruit.admin.pojo.entity.FoundationDictionary;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

public interface FoundationDictionaryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FoundationDictionary record);

    int insertSelective(FoundationDictionary record);

    FoundationDictionary selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FoundationDictionary record);

    int updateByPrimaryKey(FoundationDictionary record);

    List<FoundationDictionary> selectDictListByType(@Param("dictTyp") String dictTyp,
                                                    @Param("name")String name);
}